----------------------------------------------------------------------------
-- 1. This file automatically generates code for the LuatOS's UI designer
-- 2. In case of accident, modification is strictly prohibited
----------------------------------------------------------------------------

--Import event file
require "UiHandle"

local function objectHide()
	local o = {}
	local tSelf = {}
	setmetatable(o, tSelf)
	tSelf.__index = tSelf
	tSelf.__tostring = function(j)
		return j.self
	end
	tSelf.__tocall = function(j)
		return j.cb
	end
	tSelf.self = nil
	tSelf.cb = function(e) end
	return o
end

ScreenA = 
{
	create = nil, 
	free = nil,
	contFather_ScreenA = nil,
	LvglLabel1 = objectHide(),
	LvglImgBtn1 = objectHide(),
}
P1 = 
{
	create = nil, 
	free = nil,
	contFather_P1 = nil,
	LvglImg1 = objectHide(),
	LvglLabel2 = objectHide(),
	LvglDropdown1 = objectHide(),
	LvglDropdown2 = objectHide(),
	LvglDropdown3 = objectHide(),
	LvglDropdown4 = objectHide(),
	LvglDropdown5 = objectHide(),
	LvglDropdown6 = objectHide(),
	LvglDropdown7 = objectHide(),
	LvglDropdown8 = objectHide(),
	LvglDropdown9 = objectHide(),
	LvglDropdown10 = objectHide(),
	LvglDropdown11 = objectHide(),
	LvglDropdown12 = objectHide(),
	LvglDropdown13 = objectHide(),
}
P2 = 
{
	create = nil, 
	free = nil,
	contFather_P2 = nil,
	LvglLabel3 = objectHide(),
	LvglLabel4 = objectHide(),
}
----------------------------------------------------------------------------
--The following is the content of screen: ScreenA
---------------------------------------------------------------------------
ScreenA.create = function()
	ScreenA.contFather_ScreenA = lvgl.cont_create(lvgl.scr_act(), nil)
	lvgl.obj_set_size(ScreenA.contFather_ScreenA, 480, 854)
	lvgl.obj_align(ScreenA.contFather_ScreenA, nil, lvgl.ALIGN_IN_TOP_LEFT, 0, 0)

	--This is the LABEL_PART_MAIN's style of ScreenA.LvglLabel1
	Style_LvglLabel1_1=lvgl.style_t()
	lvgl.style_init(Style_LvglLabel1_1)
	lvgl.style_set_text_color(Style_LvglLabel1_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0x9900FF))
	lvgl.style_set_text_font(Style_LvglLabel1_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the base code of ScreenA.LvglLabel1
	ScreenA.LvglLabel1.self = lvgl.label_create(ScreenA.contFather_ScreenA, nil)
	lvgl.obj_set_click(ScreenA.LvglLabel1.self, true)
	lvgl.label_set_long_mode(ScreenA.LvglLabel1.self, lvgl.LABEL_LONG_EXPAND)
	lvgl.label_set_align(ScreenA.LvglLabel1.self, lvgl.LABEL_ALIGN_LEFT)
	lvgl.label_set_text(ScreenA.LvglLabel1.self, "数独小游戏")
	lvgl.obj_align(ScreenA.LvglLabel1.self, ScreenA.contFather_ScreenA, lvgl.ALIGN_IN_TOP_LEFT, 133, 177)
	lvgl.obj_add_style(ScreenA.LvglLabel1.self, lvgl.LABEL_PART_MAIN, Style_LvglLabel1_1)


	--This is the IMGBTN_PART_MAIN's style of ScreenA.LvglImgBtn1
	Style_LvglImgBtn1_1=lvgl.style_t()
	lvgl.style_init(Style_LvglImgBtn1_1)

	--This is the base code of ScreenA.LvglImgBtn1
	ScreenA.LvglImgBtn1.self = lvgl.imgbtn_create(ScreenA.contFather_ScreenA, nil)
	lvgl.obj_set_click(ScreenA.LvglImgBtn1.self, true)
	lvgl.imgbtn_set_src(ScreenA.LvglImgBtn1.self, lvgl.BTN_STATE_RELEASED, "/lua/bg.png")
	lvgl.imgbtn_set_src(ScreenA.LvglImgBtn1.self, lvgl.BTN_STATE_PRESSED, "/lua/bg.png")
	lvgl.imgbtn_set_src(ScreenA.LvglImgBtn1.self, lvgl.BTN_STATE_DISABLED, "/lua/bg.png")
	lvgl.imgbtn_set_src(ScreenA.LvglImgBtn1.self, lvgl.BTN_STATE_CHECKED_RELEASED, "/lua/bg.png")
	lvgl.imgbtn_set_src(ScreenA.LvglImgBtn1.self, lvgl.BTN_STATE_CHECKED_PRESSED, "/lua/bg.png")
	lvgl.imgbtn_set_src(ScreenA.LvglImgBtn1.self, lvgl.BTN_STATE_CHECKED_DISABLED, "/lua/bg.png")
	lvgl.obj_align(ScreenA.LvglImgBtn1.self, ScreenA.contFather_ScreenA, lvgl.ALIGN_IN_TOP_LEFT, 142, 296)
	lvgl.obj_add_style(ScreenA.LvglImgBtn1.self, lvgl.IMGBTN_PART_MAIN, Style_LvglImgBtn1_1)
	--This is to add callback function for ScreenA.LvglImgBtn1
	--This is callBack function of ScreenA.LvglImgBtn1
	local handleLvglImgBtn1 = function(obj, e)
		ScreenA.LvglImgBtn1.cb(e)
		ScreenA.LvglImgBtn1.cb = function(e)
			if (e == lvgl.EVENT_CLICKED)then
				lvgl.obj_del(ScreenA.contFather_ScreenA)
				ScreenA.contFather_ScreenA = nil
				P1.create()
			end
		end
	end
	lvgl.obj_set_event_cb(ScreenA.LvglImgBtn1.self, handleLvglImgBtn1)
end
ScreenA.free = function()
	lvgl.obj_del(ScreenA.contFather_ScreenA)
	ScreenA.contFather_ScreenA = nil
end

----------------------------------------------------------------------------
--The following is the content of screen: P1
---------------------------------------------------------------------------
P1.create = function()
	P1.contFather_P1 = lvgl.cont_create(lvgl.scr_act(), nil)
	lvgl.obj_set_size(P1.contFather_P1, 480, 854)
	lvgl.obj_align(P1.contFather_P1, nil, lvgl.ALIGN_IN_TOP_LEFT, 0, 0)

	--This is the IMG_PART_MAIN's style of P1.LvglImg1
	Style_LvglImg1_1=lvgl.style_t()
	lvgl.style_init(Style_LvglImg1_1)

	--This is the base code of P1.LvglImg1
	P1.LvglImg1.self = lvgl.img_create(P1.contFather_P1, nil)
	lvgl.obj_set_click(P1.LvglImg1.self, true)
	lvgl.img_set_src(P1.LvglImg1.self, "/lua/bg1.png")
	lvgl.obj_align(P1.LvglImg1.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 72, 267)
	lvgl.obj_add_style(P1.LvglImg1.self, lvgl.IMG_PART_MAIN, Style_LvglImg1_1)


	--This is the LABEL_PART_MAIN's style of P1.LvglLabel2
	Style_LvglLabel2_1=lvgl.style_t()
	lvgl.style_init(Style_LvglLabel2_1)
	lvgl.style_set_text_font(Style_LvglLabel2_1, lvgl.STATE_DEFAULT, lvgl.font_load("normal", 24))

	--This is the base code of P1.LvglLabel2
	P1.LvglLabel2.self = lvgl.label_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglLabel2.self, 180)
	lvgl.obj_set_click(P1.LvglLabel2.self, true)
	lvgl.label_set_long_mode(P1.LvglLabel2.self, lvgl.LABEL_LONG_EXPAND)
	lvgl.label_set_align(P1.LvglLabel2.self, lvgl.LABEL_ALIGN_LEFT)
	lvgl.label_set_text(P1.LvglLabel2.self, "每行显示数字1234各1个不能重复\n\n每列显示数字1234各1个不能重复\n\n每宫格显示数字1234各1个不能重复")
	lvgl.obj_align(P1.LvglLabel2.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 66, 83)
	lvgl.obj_add_style(P1.LvglLabel2.self, lvgl.LABEL_PART_MAIN, Style_LvglLabel2_1)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown1
	Style_LvglDropdown1_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown1_1)
	lvgl.style_set_text_font(Style_LvglDropdown1_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown1_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xD9EAD3))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown1
	Style_LvglDropdown1_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown1_2)
	lvgl.style_set_text_font(Style_LvglDropdown1_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown1
	Style_LvglDropdown1_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown1_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown1
	Style_LvglDropdown1_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown1_4)

	--This is the base code of P1.LvglDropdown1
	P1.LvglDropdown1.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown1.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown1.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown1.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown1.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 82, 280)
	lvgl.obj_add_style(P1.LvglDropdown1.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown1_1)
	lvgl.obj_add_style(P1.LvglDropdown1.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown1_2)
	lvgl.obj_add_style(P1.LvglDropdown1.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown1_3)
	lvgl.obj_add_style(P1.LvglDropdown1.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown1_4)
	--This is to add callback function for P1.LvglDropdown1
	--This is callBack function of P1.LvglDropdown1
	local handleLvglDropdown1 = function(obj, e)
		P1.LvglDropdown1.cb(e)
		P1.LvglDropdown1.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler1c1()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown1.self, handleLvglDropdown1)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown2
	Style_LvglDropdown2_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown2_1)
	lvgl.style_set_text_font(Style_LvglDropdown2_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown2_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xD9EAD3))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown2
	Style_LvglDropdown2_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown2_2)
	lvgl.style_set_text_font(Style_LvglDropdown2_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown2
	Style_LvglDropdown2_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown2_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown2
	Style_LvglDropdown2_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown2_4)

	--This is the base code of P1.LvglDropdown2
	P1.LvglDropdown2.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown2.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown2.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown2.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown2.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 170, 282)
	lvgl.obj_add_style(P1.LvglDropdown2.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown2_1)
	lvgl.obj_add_style(P1.LvglDropdown2.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown2_2)
	lvgl.obj_add_style(P1.LvglDropdown2.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown2_3)
	lvgl.obj_add_style(P1.LvglDropdown2.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown2_4)
	--This is to add callback function for P1.LvglDropdown2
	--This is callBack function of P1.LvglDropdown2
	local handleLvglDropdown2 = function(obj, e)
		P1.LvglDropdown2.cb(e)
		P1.LvglDropdown2.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler1c2()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown2.self, handleLvglDropdown2)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown3
	Style_LvglDropdown3_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown3_1)
	lvgl.style_set_text_font(Style_LvglDropdown3_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown3_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xFFFFFF))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown3
	Style_LvglDropdown3_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown3_2)
	lvgl.style_set_text_font(Style_LvglDropdown3_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown3
	Style_LvglDropdown3_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown3_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown3
	Style_LvglDropdown3_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown3_4)

	--This is the base code of P1.LvglDropdown3
	P1.LvglDropdown3.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown3.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown3.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown3.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown3.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 260, 280)
	lvgl.obj_add_style(P1.LvglDropdown3.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown3_1)
	lvgl.obj_add_style(P1.LvglDropdown3.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown3_2)
	lvgl.obj_add_style(P1.LvglDropdown3.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown3_3)
	lvgl.obj_add_style(P1.LvglDropdown3.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown3_4)
	--This is to add callback function for P1.LvglDropdown3
	--This is callBack function of P1.LvglDropdown3
	local handleLvglDropdown3 = function(obj, e)
		P1.LvglDropdown3.cb(e)
		P1.LvglDropdown3.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler1c3()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown3.self, handleLvglDropdown3)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown4
	Style_LvglDropdown4_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown4_1)
	lvgl.style_set_text_font(Style_LvglDropdown4_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown4_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xFFFFFF))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown4
	Style_LvglDropdown4_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown4_2)
	lvgl.style_set_text_font(Style_LvglDropdown4_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown4
	Style_LvglDropdown4_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown4_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown4
	Style_LvglDropdown4_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown4_4)

	--This is the base code of P1.LvglDropdown4
	P1.LvglDropdown4.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown4.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown4.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown4.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown4.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 348, 280)
	lvgl.obj_add_style(P1.LvglDropdown4.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown4_1)
	lvgl.obj_add_style(P1.LvglDropdown4.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown4_2)
	lvgl.obj_add_style(P1.LvglDropdown4.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown4_3)
	lvgl.obj_add_style(P1.LvglDropdown4.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown4_4)
	--This is to add callback function for P1.LvglDropdown4
	--This is callBack function of P1.LvglDropdown4
	local handleLvglDropdown4 = function(obj, e)
		P1.LvglDropdown4.cb(e)
		P1.LvglDropdown4.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler1c4()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown4.self, handleLvglDropdown4)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown5
	Style_LvglDropdown5_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown5_1)
	lvgl.style_set_text_font(Style_LvglDropdown5_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown5_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xD9EAD3))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown5
	Style_LvglDropdown5_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown5_2)
	lvgl.style_set_text_font(Style_LvglDropdown5_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown5
	Style_LvglDropdown5_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown5_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown5
	Style_LvglDropdown5_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown5_4)

	--This is the base code of P1.LvglDropdown5
	P1.LvglDropdown5.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown5.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown5.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown5.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown5.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 169, 354)
	lvgl.obj_add_style(P1.LvglDropdown5.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown5_1)
	lvgl.obj_add_style(P1.LvglDropdown5.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown5_2)
	lvgl.obj_add_style(P1.LvglDropdown5.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown5_3)
	lvgl.obj_add_style(P1.LvglDropdown5.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown5_4)
	--This is to add callback function for P1.LvglDropdown5
	--This is callBack function of P1.LvglDropdown5
	local handleLvglDropdown5 = function(obj, e)
		P1.LvglDropdown5.cb(e)
		P1.LvglDropdown5.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler2c2()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown5.self, handleLvglDropdown5)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown6
	Style_LvglDropdown6_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown6_1)
	lvgl.style_set_text_font(Style_LvglDropdown6_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown6_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xFFFFFF))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown6
	Style_LvglDropdown6_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown6_2)
	lvgl.style_set_text_font(Style_LvglDropdown6_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown6
	Style_LvglDropdown6_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown6_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown6
	Style_LvglDropdown6_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown6_4)

	--This is the base code of P1.LvglDropdown6
	P1.LvglDropdown6.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown6.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown6.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown6.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown6.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 81, 424)
	lvgl.obj_add_style(P1.LvglDropdown6.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown6_1)
	lvgl.obj_add_style(P1.LvglDropdown6.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown6_2)
	lvgl.obj_add_style(P1.LvglDropdown6.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown6_3)
	lvgl.obj_add_style(P1.LvglDropdown6.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown6_4)
	--This is to add callback function for P1.LvglDropdown6
	--This is callBack function of P1.LvglDropdown6
	local handleLvglDropdown6 = function(obj, e)
		P1.LvglDropdown6.cb(e)
		P1.LvglDropdown6.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler3c1()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown6.self, handleLvglDropdown6)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown7
	Style_LvglDropdown7_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown7_1)
	lvgl.style_set_text_font(Style_LvglDropdown7_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown7_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xFFFFFF))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown7
	Style_LvglDropdown7_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown7_2)
	lvgl.style_set_text_font(Style_LvglDropdown7_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown7
	Style_LvglDropdown7_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown7_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown7
	Style_LvglDropdown7_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown7_4)

	--This is the base code of P1.LvglDropdown7
	P1.LvglDropdown7.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown7.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown7.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown7.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown7.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 170, 426)
	lvgl.obj_add_style(P1.LvglDropdown7.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown7_1)
	lvgl.obj_add_style(P1.LvglDropdown7.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown7_2)
	lvgl.obj_add_style(P1.LvglDropdown7.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown7_3)
	lvgl.obj_add_style(P1.LvglDropdown7.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown7_4)
	--This is to add callback function for P1.LvglDropdown7
	--This is callBack function of P1.LvglDropdown7
	local handleLvglDropdown7 = function(obj, e)
		P1.LvglDropdown7.cb(e)
		P1.LvglDropdown7.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler3c2()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown7.self, handleLvglDropdown7)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown8
	Style_LvglDropdown8_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown8_1)
	lvgl.style_set_text_font(Style_LvglDropdown8_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown8_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xD9EAD3))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown8
	Style_LvglDropdown8_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown8_2)
	lvgl.style_set_text_font(Style_LvglDropdown8_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown8
	Style_LvglDropdown8_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown8_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown8
	Style_LvglDropdown8_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown8_4)

	--This is the base code of P1.LvglDropdown8
	P1.LvglDropdown8.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown8.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown8.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown8.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown8.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 257, 427)
	lvgl.obj_add_style(P1.LvglDropdown8.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown8_1)
	lvgl.obj_add_style(P1.LvglDropdown8.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown8_2)
	lvgl.obj_add_style(P1.LvglDropdown8.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown8_3)
	lvgl.obj_add_style(P1.LvglDropdown8.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown8_4)
	--This is to add callback function for P1.LvglDropdown8
	--This is callBack function of P1.LvglDropdown8
	local handleLvglDropdown8 = function(obj, e)
		P1.LvglDropdown8.cb(e)
		P1.LvglDropdown8.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler3c3()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown8.self, handleLvglDropdown8)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown9
	Style_LvglDropdown9_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown9_1)
	lvgl.style_set_text_font(Style_LvglDropdown9_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown9_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xD9EAD3))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown9
	Style_LvglDropdown9_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown9_2)
	lvgl.style_set_text_font(Style_LvglDropdown9_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown9
	Style_LvglDropdown9_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown9_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown9
	Style_LvglDropdown9_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown9_4)

	--This is the base code of P1.LvglDropdown9
	P1.LvglDropdown9.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown9.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown9.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown9.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown9.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 346, 426)
	lvgl.obj_add_style(P1.LvglDropdown9.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown9_1)
	lvgl.obj_add_style(P1.LvglDropdown9.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown9_2)
	lvgl.obj_add_style(P1.LvglDropdown9.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown9_3)
	lvgl.obj_add_style(P1.LvglDropdown9.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown9_4)
	--This is to add callback function for P1.LvglDropdown9
	--This is callBack function of P1.LvglDropdown9
	local handleLvglDropdown9 = function(obj, e)
		P1.LvglDropdown9.cb(e)
		P1.LvglDropdown9.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler3c4()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown9.self, handleLvglDropdown9)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown10
	Style_LvglDropdown10_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown10_1)
	lvgl.style_set_text_font(Style_LvglDropdown10_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown10_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xFFFFFF))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown10
	Style_LvglDropdown10_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown10_2)
	lvgl.style_set_text_font(Style_LvglDropdown10_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown10
	Style_LvglDropdown10_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown10_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown10
	Style_LvglDropdown10_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown10_4)

	--This is the base code of P1.LvglDropdown10
	P1.LvglDropdown10.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown10.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown10.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown10.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown10.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 80, 493)
	lvgl.obj_add_style(P1.LvglDropdown10.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown10_1)
	lvgl.obj_add_style(P1.LvglDropdown10.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown10_2)
	lvgl.obj_add_style(P1.LvglDropdown10.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown10_3)
	lvgl.obj_add_style(P1.LvglDropdown10.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown10_4)
	--This is to add callback function for P1.LvglDropdown10
	--This is callBack function of P1.LvglDropdown10
	local handleLvglDropdown10 = function(obj, e)
		P1.LvglDropdown10.cb(e)
		P1.LvglDropdown10.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler4c1()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown10.self, handleLvglDropdown10)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown11
	Style_LvglDropdown11_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown11_1)
	lvgl.style_set_text_font(Style_LvglDropdown11_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown11_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xFFFFFF))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown11
	Style_LvglDropdown11_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown11_2)
	lvgl.style_set_text_font(Style_LvglDropdown11_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown11
	Style_LvglDropdown11_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown11_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown11
	Style_LvglDropdown11_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown11_4)

	--This is the base code of P1.LvglDropdown11
	P1.LvglDropdown11.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown11.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown11.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown11.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown11.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 169, 495)
	lvgl.obj_add_style(P1.LvglDropdown11.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown11_1)
	lvgl.obj_add_style(P1.LvglDropdown11.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown11_2)
	lvgl.obj_add_style(P1.LvglDropdown11.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown11_3)
	lvgl.obj_add_style(P1.LvglDropdown11.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown11_4)
	--This is to add callback function for P1.LvglDropdown11
	--This is callBack function of P1.LvglDropdown11
	local handleLvglDropdown11 = function(obj, e)
		P1.LvglDropdown11.cb(e)
		P1.LvglDropdown11.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler4c2()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown11.self, handleLvglDropdown11)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown12
	Style_LvglDropdown12_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown12_1)
	lvgl.style_set_text_font(Style_LvglDropdown12_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown12_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xD9EAD3))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown12
	Style_LvglDropdown12_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown12_2)
	lvgl.style_set_text_font(Style_LvglDropdown12_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown12
	Style_LvglDropdown12_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown12_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown12
	Style_LvglDropdown12_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown12_4)

	--This is the base code of P1.LvglDropdown12
	P1.LvglDropdown12.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown12.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown12.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown12.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown12.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 258, 492)
	lvgl.obj_add_style(P1.LvglDropdown12.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown12_1)
	lvgl.obj_add_style(P1.LvglDropdown12.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown12_2)
	lvgl.obj_add_style(P1.LvglDropdown12.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown12_3)
	lvgl.obj_add_style(P1.LvglDropdown12.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown12_4)
	--This is to add callback function for P1.LvglDropdown12
	--This is callBack function of P1.LvglDropdown12
	local handleLvglDropdown12 = function(obj, e)
		P1.LvglDropdown12.cb(e)
		P1.LvglDropdown12.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler4c3()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown12.self, handleLvglDropdown12)


	--This is the DROPDOWN_PART_MAIN's style of P1.LvglDropdown13
	Style_LvglDropdown13_1=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown13_1)
	lvgl.style_set_text_font(Style_LvglDropdown13_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_bg_color(Style_LvglDropdown13_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xD9EAD3))

	--This is the DROPDOWN_PART_LIST's style of P1.LvglDropdown13
	Style_LvglDropdown13_2=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown13_2)
	lvgl.style_set_text_font(Style_LvglDropdown13_2, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))

	--This is the DROPDOWN_PART_SCROLLBAR's style of P1.LvglDropdown13
	Style_LvglDropdown13_3=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown13_3)

	--This is the DROPDOWN_PART_SELECTED's style of P1.LvglDropdown13
	Style_LvglDropdown13_4=lvgl.style_t()
	lvgl.style_init(Style_LvglDropdown13_4)

	--This is the base code of P1.LvglDropdown13
	P1.LvglDropdown13.self = lvgl.dropdown_create(P1.contFather_P1, nil)
	lvgl.obj_set_width(P1.LvglDropdown13.self, 79)
	lvgl.obj_set_click(P1.LvglDropdown13.self, true)
	lvgl.dropdown_set_options(P1.LvglDropdown13.self, "?\n1\n2\n3\n4")
	lvgl.obj_align(P1.LvglDropdown13.self, P1.contFather_P1, lvgl.ALIGN_IN_TOP_LEFT, 346, 493)
	lvgl.obj_add_style(P1.LvglDropdown13.self, lvgl.DROPDOWN_PART_MAIN, Style_LvglDropdown13_1)
	lvgl.obj_add_style(P1.LvglDropdown13.self, lvgl.DROPDOWN_PART_LIST, Style_LvglDropdown13_2)
	lvgl.obj_add_style(P1.LvglDropdown13.self, lvgl.DROPDOWN_PART_SCROLLBAR, Style_LvglDropdown13_3)
	lvgl.obj_add_style(P1.LvglDropdown13.self, lvgl.DROPDOWN_PART_SELECTED, Style_LvglDropdown13_4)
	--This is to add callback function for P1.LvglDropdown13
	--This is callBack function of P1.LvglDropdown13
	local handleLvglDropdown13 = function(obj, e)
		P1.LvglDropdown13.cb(e)
		P1.LvglDropdown13.cb = function(e)
			if (e == lvgl.EVENT_VALUE_CHANGED)then
				handler4c4()
			end
		end
	end
	lvgl.obj_set_event_cb(P1.LvglDropdown13.self, handleLvglDropdown13)
end
P1.free = function()
	lvgl.obj_del(P1.contFather_P1)
	P1.contFather_P1 = nil
end

----------------------------------------------------------------------------
--The following is the content of screen: P2
---------------------------------------------------------------------------
P2.create = function()
	P2.contFather_P2 = lvgl.cont_create(lvgl.scr_act(), nil)
	lvgl.obj_set_size(P2.contFather_P2, 480, 854)
	lvgl.obj_align(P2.contFather_P2, nil, lvgl.ALIGN_IN_TOP_LEFT, 0, 0)

	--This is the LABEL_PART_MAIN's style of P2.LvglLabel3
	Style_LvglLabel3_1=lvgl.style_t()
	lvgl.style_init(Style_LvglLabel3_1)
	lvgl.style_set_text_font(Style_LvglLabel3_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_text_color(Style_LvglLabel3_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xFF0000))

	--This is the base code of P2.LvglLabel3
	P2.LvglLabel3.self = lvgl.label_create(P2.contFather_P2, nil)
	lvgl.obj_set_width(P2.LvglLabel3.self, 180)
	lvgl.obj_set_click(P2.LvglLabel3.self, true)
	lvgl.label_set_long_mode(P2.LvglLabel3.self, lvgl.LABEL_LONG_EXPAND)
	lvgl.label_set_align(P2.LvglLabel3.self, lvgl.LABEL_ALIGN_LEFT)
	lvgl.label_set_text(P2.LvglLabel3.self, "游戏失败!!!")
	lvgl.obj_align(P2.LvglLabel3.self, P2.contFather_P2, lvgl.ALIGN_IN_TOP_LEFT, 132, 182)
	lvgl.obj_add_style(P2.LvglLabel3.self, lvgl.LABEL_PART_MAIN, Style_LvglLabel3_1)


	--This is the LABEL_PART_MAIN's style of P2.LvglLabel4
	Style_LvglLabel4_1=lvgl.style_t()
	lvgl.style_init(Style_LvglLabel4_1)
	lvgl.style_set_text_font(Style_LvglLabel4_1, lvgl.STATE_DEFAULT, lvgl.font_load("heavy", 36))
	lvgl.style_set_text_color(Style_LvglLabel4_1, lvgl.STATE_DEFAULT, lvgl.color_hex(0xFF0000))

	--This is the base code of P2.LvglLabel4
	P2.LvglLabel4.self = lvgl.label_create(P2.contFather_P2, nil)
	lvgl.obj_set_click(P2.LvglLabel4.self, true)
	lvgl.label_set_long_mode(P2.LvglLabel4.self, lvgl.LABEL_LONG_EXPAND)
	lvgl.label_set_align(P2.LvglLabel4.self, lvgl.LABEL_ALIGN_LEFT)
	lvgl.label_set_text(P2.LvglLabel4.self, "再来一次")
	lvgl.obj_align(P2.LvglLabel4.self, P2.contFather_P2, lvgl.ALIGN_IN_TOP_LEFT, 150, 288)
	lvgl.obj_add_style(P2.LvglLabel4.self, lvgl.LABEL_PART_MAIN, Style_LvglLabel4_1)
	--This is to add callback function for P2.LvglLabel4
	--This is callBack function of P2.LvglLabel4
	local handleLvglLabel4 = function(obj, e)
		P2.LvglLabel4.cb(e)
		P2.LvglLabel4.cb = function(e)
			if (e == lvgl.EVENT_CLICKED)then
				lvgl.obj_del(P2.contFather_P2)
				P2.contFather_P2 = nil
				P1.create()
			end
		end
	end
	lvgl.obj_set_event_cb(P2.LvglLabel4.self, handleLvglLabel4)
end
P2.free = function()
	lvgl.obj_del(P2.contFather_P2)
	P2.contFather_P2 = nil
end


----------------------------------------------------------------------------
-----------------------This is the Initial of lvglGUI-----------------------
----------------------------------------------------------------------------
function lvglUiInitial()
	ScreenA.create()
end
